[INFO] cloning repository https://github.com/bantic/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bantic/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0958d66e32c4ca18ace0e3c208066514b769e6c
[INFO] checking bantic/cryptopals against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Fcryptopals" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bantic/cryptopals
[INFO] finished tweaking git repo https://github.com/bantic/cryptopals
[INFO] tweaked toml for git repo https://github.com/bantic/cryptopals written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bantic/cryptopals on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bantic/cryptopals already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b7a19b30727a6ae92f40df841f7bbd883c50fc8a62e241121fbf9c0982b54dc3
[INFO] running `Command { std: "docker" "start" "-a" "b7a19b30727a6ae92f40df841f7bbd883c50fc8a62e241121fbf9c0982b54dc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7a19b30727a6ae92f40df841f7bbd883c50fc8a62e241121fbf9c0982b54dc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7a19b30727a6ae92f40df841f7bbd883c50fc8a62e241121fbf9c0982b54dc3", kill_on_drop: false }`
[INFO] [stdout] b7a19b30727a6ae92f40df841f7bbd883c50fc8a62e241121fbf9c0982b54dc3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b5d4f753f714f0107a1988785cc92d1f2022fc1502ec4f0069203e444e8e586
[INFO] running `Command { std: "docker" "start" "-a" "8b5d4f753f714f0107a1988785cc92d1f2022fc1502ec4f0069203e444e8e586", kill_on_drop: false }`
[INFO] [stderr]     Checking cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/crypto/xor.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     if (score > best_score) {
[INFO] [stdout]    |        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -     if (score > best_score) {
[INFO] [stdout] 21 +     if score > best_score {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xor`
[INFO] [stdout]  --> src/lib.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 |   use crate::crypto::{hex_to_base64, xor, xor_hex};
[INFO] [stdout]   |                                      ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/crypto/xor.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     if (score > best_score) {
[INFO] [stdout]    |        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -     if (score > best_score) {
[INFO] [stdout] 21 +     if score > best_score {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::hex_to_base64::hex_to_base64`
[INFO] [stdout]  --> src/crypto/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use self::hex_to_base64::hex_to_base64;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::xor::xor`
[INFO] [stdout]  --> src/crypto/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::xor::xor;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::xor_hex::xor_hex`
[INFO] [stdout]  --> src/crypto/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use self::xor_hex::xor_hex;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_base64` is never used
[INFO] [stdout]  --> src/crypto/hex_to_base64.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn hex_to_base64(hex: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pad_bits` is never used
[INFO] [stdout]   --> src/crypto/hex_to_base64.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn pad_bits(bits: Vec<bool>) -> Vec<bool> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_to_base64` is never used
[INFO] [stdout]   --> src/crypto/hex_to_base64.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn bits_to_base64(bits: Vec<bool>) -> char {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor` is never used
[INFO] [stdout]  --> src/crypto/xor.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn xor(hexed_input: &str, c: char) -> String {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_fixed_xor` is never used
[INFO] [stdout]   --> src/crypto/xor.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn decode_fixed_xor(hexed_input: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_char_freq` is never used
[INFO] [stdout]   --> src/crypto/xor.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn get_char_freq(c: char) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `freq_score` is never used
[INFO] [stdout]   --> src/crypto/xor.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn freq_score(str: &str) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_hex` is never used
[INFO] [stdout]  --> src/crypto/xor_hex.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn xor_hex(a: &str, b: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_vecu8` is never used
[INFO] [stdout]  --> src/crypto/mod.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |   pub fn hex_to_vecu8(hex: &str) -> Vec<u8> {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_u8` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |   fn hex_to_u8(hex: &str) -> u8 {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_decimal` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub fn hex_to_decimal(hex: &str) -> i32 {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decimal_to_bits` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 |   fn decimal_to_bits(d: i32) -> Vec<bool> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_bits` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |   pub fn hex_to_bits(hex: &str) -> Vec<bool> {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_to_hex` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |   pub fn bits_to_hex(bits: Vec<bool>) -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_to_decimal` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |   pub fn bits_to_decimal(bits: Vec<bool>) -> i32 {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "8b5d4f753f714f0107a1988785cc92d1f2022fc1502ec4f0069203e444e8e586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b5d4f753f714f0107a1988785cc92d1f2022fc1502ec4f0069203e444e8e586", kill_on_drop: false }`
[INFO] [stdout] 8b5d4f753f714f0107a1988785cc92d1f2022fc1502ec4f0069203e444e8e586
